package com.lz.netty.consumer.project.netty.util;


import com.lz.netty.consumer.project.netty.domain.MsgInfo;

/**
 * 构建protobuf消息体
 */
public class MsgUtil {
    /**
     * 构建protobuf消息体
     */
    public static MsgInfo buildMsg(String channelId, String msgContent) {
        return new MsgInfo(channelId,msgContent);
    }

}
